const path = require('path')
const pathResolve = pathUrl => path.join(__dirname, pathUrl)
module.exports = {
    reactScriptsVersion: "react-scripts" /* (default value) */,
    eslint: {
        enable: false /* (default value) */,
        // mode: "extends" /* (default value) */ || "file",
        // configure: { /* Any eslint configuration options: https://eslint.org/docs/user-guide/configuring */ },
        // configure: (eslintConfig, { env, paths }) => { return eslintConfig; },
        // pluginOptions: { /* Any eslint plugin configuration options: https://github.com/webpack-contrib/eslint-webpack-plugin#options. */ },
        // pluginOptions: (eslintOptions, { env, paths }) => { return eslintOptions; }
    },
    webpack: {
        alias: {
            '@': pathResolve('src'),
            '@pages': pathResolve('src/pages'),
            '@utils': pathResolve('src/utils')
        },
    }
}